//! Header for the FilledCircle-class
/*!
	\file FilledCircle.h
	\author Andreas Lehner
	\date 13.11.2012

*/
#ifndef FILLEDCIRCLE_H
#define FILLEDCIRCLE_H

#include "Circle.h"

//! Describes a filled circle
/*!
\class FilledCircle
The class FilledCircle implements the DoWrite function for a filled circle.
It provides the tag for filling the circle with the color given. In the specification
it was an ambiguous statement (leaving out the fill tag means filling it out with black).
Assumption: it should be filled out with the color given.
*/
class FilledCircle : public Circle {
public:
	//! CTor of FilledCircle
	/*!
	This constructor is needed by the ShapeFactory that it is able to create an object of this class.
	All three parameters are set in the class Circle (Circle constructor is called).
	\param pos The position of the circle on a picture.
	\param radius The radius of a circle.
	\param color The color a circle has.
	*/
	FilledCircle(TPosition const& pos, float const& radius, std::string const& color) : Circle(pos, radius, color){};
protected:
	void DoWrite(std::ostream & stream);
};

#endif